<!DOCTYPE html>
<html>
<head lang="en">
  <meta charset="UTF-8">
  <title>后台管理</title>
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1">
  <meta name="format-detection" content="telephone=no">
  <meta name="renderer" content="webkit">
  <meta http-equiv="Cache-Control" content="no-siteapp"/>
  <link rel="stylesheet" href="/assets/css/amazeui.min.css"/>
  <style>
    .header {
      text-align: center;
    }

    .header h1 {
      font-size: 200%;
      color: #333;
      margin-top: 30px;
    }

    .header p {
      font-size: 14px;
    }
  </style>
</head>
<body>
<div class="header">
  <div class="am-g">
    <h1>作业要领书系统管理</h1>
  </div>
  <hr/>
</div>
<div class="am-g">
  #if(notice)
    <div class="am-u-lg-4 am-u-md-6 am-u-sm-centered am-text-warning">#(notice)</div>
  #end
  <div class="am-u-lg-4 am-u-md-6 am-u-sm-centered">
    <form method="post" class="am-form" action="/admin/login">
      <div class="am-form-group">
        <label for="name">管理员名称:</label>
        <input type="text" name="name" id="name" value="">
      </div>
      <div class="am-form-group">
        <label for="password">登录密码:</label>
        <input type="password" name="password" id="password" value="">
      </div>
      <div class="am-form-group">
        <div class="am-u-sm-6 am-u-lg-centered">
          <input type="submit" name="" value="登 录" class="am-btn am-btn-primary am-btn-sm">
          <input type="button" name="" value="重 置" class="am-btn am-btn-default am-btn-sm" onclick="rest();">
        </div>
      </div>
    </form>
    <hr>
  </div>
</div>
<script src="/assets/js/jquery.min.js"></script>
<script>
function rest() {
  $("#name").val("");
  $("#password").val("");
  $("#name").focus();
}
</script>
</body>
</html>
